package cn.funnyxb.tools.appFrame.util;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Bundle;

public class ManifestMetaData
{
  public static Object get(Context paramContext, String paramString)
  {
    return readKey(paramContext, paramString);
  }

  public static Boolean getBoolean(Context paramContext, String paramString)
  {
    return ((Boolean)readKey(paramContext, paramString));
  }

  public static int getInt(Context paramContext, String paramString)
  {
    return ((Integer)readKey(paramContext, paramString)).intValue();
  }

  public static String getString(Context paramContext, String paramString)
  {
    return ((String)readKey(paramContext, paramString));
  }

  private static Object readKey(Context paramContext, String paramString)
  {
    Object localObject1;
    try
    {
      Object localObject2 = paramContext.getPackageManager().getApplicationInfo(paramContext.getPackageName(), 128).metaData.get(paramString);
      localObject1 = localObject2;
      return localObject1;
    }
    catch (PackageManager.NameNotFoundException localNameNotFoundException)
    {
      localObject1 = null;
    }
  }
}

/* Location:           E:\Desktop\复件 classes_dex2jar.jar
 * Qualified Name:     cn.funnyxb.tools.appFrame.util.ManifestMetaData
 * JD-Core Version:    0.5.3
 */